package com.woniu.adminservice.service.impl;

import com.woniu.adminservice.feignclient.OrderFeign;
import com.woniu.adminservice.service.OrderDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Auther: huangjing  <br/>
 * Date: 2020/3/24$:17:45$  <br/>
 * Description:
 */

@Service
public class OrderDataServiceImp implements OrderDataService {
@Autowired
OrderFeign orderFeign;
    @Override
    public List selectOrderList() {
     List orderList =  orderFeign.orderList();
        return orderList;
    }
}